<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>LCV Framework: bmp.c-Dateireferenz</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Erzeugt von Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Hauptseite</span></a></li>
    <li><a href="classes.html"><span>Datenstrukturen</span></a></li>
    <li class="current"><a href="files.html"><span>Dateien</span></a></li>
  </ul>
</div>
<h1>bmp.c-Dateireferenz</h1>Implementation der Bitmap Funktionen. <a href="#_details">Mehr ...</a>
<p>
<code>#include &lt;stdio.h&gt;</code><br>
<code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;fcntl.h&gt;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;strings.h&gt;</code><br>
<code>#include &quot;<a class="el" href="lcv-config_8h-source.html">lcv-config.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="dip_8h-source.html">dip.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="bmp_8h-source.html">bmp.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="bmp-header_8h-source.html">bmp-header.h</a>&quot;</code><br>

<p>
<a href="bmp_8c-source.html">gehe zum Quellcode dieser Datei</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Funktionen</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#b861d2c07df67168c1ae0ee5c15f3604">get_a_4byte_value</a> (unsigned char *header, int offset)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Holt einen 4-Byte Wert aus einem Header.  <a href="#b861d2c07df67168c1ae0ee5c15f3604"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#d7c4a55f01ae20ccb294eb75dfad87b2">set_a_4byte_value</a> (unsigned char *header, int offset, int value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Setzt einen 4-Byte Wert in einem Header.  <a href="#d7c4a55f01ae20ccb294eb75dfad87b2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#019bbd8825f65533aa3651c087951d3d">lcv_write_bmp</a> (const <a class="el" href="structlcv__picture.html">lcv_picture</a> pic, const char *filename)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Speichert ein <a class="el" href="structlcv__picture.html" title="Bilderstruktur für unsigned 8-bit Bilder.">lcv_picture</a> Strukt im BMP-Format ab.  <a href="#019bbd8825f65533aa3651c087951d3d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structlcv__picture.html">lcv_picture</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#db9d72348ad074e3aa31306fd9c0f410">lcv_read_bmp</a> (const char *filename)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Liest ein Bitmap vom Dateisystem ein und wandelt es in ein <a class="el" href="structlcv__picture.html" title="Bilderstruktur für unsigned 8-bit Bilder.">lcv_picture</a> um.  <a href="#db9d72348ad074e3aa31306fd9c0f410"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#e479adb4ac58f6d6aa93c6ec6cd33c6f">lcv_get_data_offset</a> (unsigned char *header)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Liest den Offset der Bilderdaten aus einem BMP-Header.  <a href="#e479adb4ac58f6d6aa93c6ec6cd33c6f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#5558ce5030c2351ee51f4aceb3c2cc19">lcv_set_data_offset</a> (unsigned char *header, int offset)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Schreibt den Bilddaten-Offset Wert in einen BMP-Header.  <a href="#5558ce5030c2351ee51f4aceb3c2cc19"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#705a23754fa604d27b8f0562388f8e99">lcv_get_height</a> (unsigned char *header)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Liest die Bildhöhe aus einem BMP-Header.  <a href="#705a23754fa604d27b8f0562388f8e99"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#195e45d074ca98f4a6223df1222beb03">lcv_set_height</a> (unsigned char *header, int height)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Schreibt die Bildhöhe in einen BMP-Header.  <a href="#195e45d074ca98f4a6223df1222beb03"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#cb2e0a15670d489e379065f189d36cd3">lcv_get_width</a> (unsigned char *header)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Liest die Bildbreite aus einem BMP-Header.  <a href="#cb2e0a15670d489e379065f189d36cd3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#5f996c726707fcfa7b04f47e649e6503">lcv_set_width</a> (unsigned char *header, int width)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Schreibt die Bildbreite in einen BMP-Header.  <a href="#5f996c726707fcfa7b04f47e649e6503"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bmp_8c.html#747d30df5a1c05fd51e331c6d1864b13">lcv_get_colordepth</a> (unsigned char *header)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Liest die Farbtiefe aus einem BMP-Header.  <a href="#747d30df5a1c05fd51e331c6d1864b13"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Ausführliche Beschreibung</h2>
Implementation der Bitmap Funktionen. 
<p>
<dl class="author" compact><dt><b>Autor:</b></dt><dd>Daniel Kummer, Sebastian Kummer </dd></dl>
<dl class="date" compact><dt><b>Datum:</b></dt><dd>Donnerstag, Dezember 12, 2007 </dd></dl>
<dl class="version" compact><dt><b>Version:</b></dt><dd>1.0 </dd></dl>

<p>Definiert in Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>
<hr><h2>Dokumentation der Funktionen</h2>
<a class="anchor" name="b861d2c07df67168c1ae0ee5c15f3604"></a><!-- doxytag: member="bmp.c::get_a_4byte_value" ref="b861d2c07df67168c1ae0ee5c15f3604" args="(unsigned char *header, int offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int get_a_4byte_value           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>offset</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Holt einen 4-Byte Wert aus einem Header. 
<p>
Diese Methode wird nur in <a class="el" href="bmp_8c.html" title="Implementation der Bitmap Funktionen.">bmp.c</a> verwendet. <dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>Header </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>Offset </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Wert </dd></dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00195">195</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00154">lcv_get_data_offset()</a>, <a class="el" href="bmp_8c-source.html#l00164">lcv_get_height()</a> und <a class="el" href="bmp_8c-source.html#l00174">lcv_get_width()</a>.</p>

</div>
</div><p>
<a class="anchor" name="747d30df5a1c05fd51e331c6d1864b13"></a><!-- doxytag: member="bmp.c::lcv_get_colordepth" ref="747d30df5a1c05fd51e331c6d1864b13" args="(unsigned char *header)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int lcv_get_colordepth           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>header</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Liest die Farbtiefe aus einem BMP-Header. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>BMP-Header </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Farbtiefe </dd></dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00184">184</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00075">lcv_read_bmp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e479adb4ac58f6d6aa93c6ec6cd33c6f"></a><!-- doxytag: member="bmp.c::lcv_get_data_offset" ref="e479adb4ac58f6d6aa93c6ec6cd33c6f" args="(unsigned char *header)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int lcv_get_data_offset           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>header</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Liest den Offset der Bilderdaten aus einem BMP-Header. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>BMP-Header </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Offset der Daten </dd></dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00154">154</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00075">lcv_read_bmp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="705a23754fa604d27b8f0562388f8e99"></a><!-- doxytag: member="bmp.c::lcv_get_height" ref="705a23754fa604d27b8f0562388f8e99" args="(unsigned char *header)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int lcv_get_height           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>header</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Liest die Bildhöhe aus einem BMP-Header. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>BMP-Header </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Höhe des Bildes </dd></dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00164">164</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00075">lcv_read_bmp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cb2e0a15670d489e379065f189d36cd3"></a><!-- doxytag: member="bmp.c::lcv_get_width" ref="cb2e0a15670d489e379065f189d36cd3" args="(unsigned char *header)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int lcv_get_width           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>header</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Liest die Bildbreite aus einem BMP-Header. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>BMP-Header </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Breite des Bildes </dd></dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00174">174</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00075">lcv_read_bmp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="db9d72348ad074e3aa31306fd9c0f410"></a><!-- doxytag: member="bmp.c::lcv_read_bmp" ref="db9d72348ad074e3aa31306fd9c0f410" args="(const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structlcv__picture.html">lcv_picture</a> lcv_read_bmp           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>filename</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Liest ein Bitmap vom Dateisystem ein und wandelt es in ein <a class="el" href="structlcv__picture.html" title="Bilderstruktur für unsigned 8-bit Bilder.">lcv_picture</a> um. 
<p>
Das Bitmap muss eine Farbtiefe von 24-bit aufweisen und "bottom-up" abgelegt sein <dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>Dateiname, bzw. Pfad </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Bild in Struktur </dd></dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00075">75</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

<p>Wird benutzt von <a class="el" href="cam-linux32_8c-source.html#l00043">lcv_capture_frame()</a> und <a class="el" href="cam-linux32_8c-source.html#l00093">lcv_capture_region()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5558ce5030c2351ee51f4aceb3c2cc19"></a><!-- doxytag: member="bmp.c::lcv_set_data_offset" ref="5558ce5030c2351ee51f4aceb3c2cc19" args="(unsigned char *header, int offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lcv_set_data_offset           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>offset</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Schreibt den Bilddaten-Offset Wert in einen BMP-Header. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>BMP-Header </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>Offset der Daten </td></tr>
  </table>
</dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00159">159</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

</div>
</div><p>
<a class="anchor" name="195e45d074ca98f4a6223df1222beb03"></a><!-- doxytag: member="bmp.c::lcv_set_height" ref="195e45d074ca98f4a6223df1222beb03" args="(unsigned char *header, int height)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lcv_set_height           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>height</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Schreibt die Bildhöhe in einen BMP-Header. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>BMP-Header </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&nbsp;</td><td>Höhe des Bildes </td></tr>
  </table>
</dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00169">169</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00037">lcv_write_bmp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5f996c726707fcfa7b04f47e649e6503"></a><!-- doxytag: member="bmp.c::lcv_set_width" ref="5f996c726707fcfa7b04f47e649e6503" args="(unsigned char *header, int width)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lcv_set_width           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>width</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Schreibt die Bildbreite in einen BMP-Header. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>BMP-Header </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>height</em>&nbsp;</td><td>Breite des Bildes </td></tr>
  </table>
</dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00179">179</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00037">lcv_write_bmp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="019bbd8825f65533aa3651c087951d3d"></a><!-- doxytag: member="bmp.c::lcv_write_bmp" ref="019bbd8825f65533aa3651c087951d3d" args="(const lcv_picture pic, const char *filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char lcv_write_bmp           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structlcv__picture.html">lcv_picture</a>&nbsp;</td>
          <td class="paramname"> <em>pic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>filename</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Speichert ein <a class="el" href="structlcv__picture.html" title="Bilderstruktur für unsigned 8-bit Bilder.">lcv_picture</a> Strukt im BMP-Format ab. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pic</em>&nbsp;</td><td>Das zu speichernde Bild </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>Dateiname, bzw. Pfad </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Erfolgsmeldung (positiv) oder Fehlernummer (negativ) </dd></dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00037">37</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

</div>
</div><p>
<a class="anchor" name="d7c4a55f01ae20ccb294eb75dfad87b2"></a><!-- doxytag: member="bmp.c::set_a_4byte_value" ref="d7c4a55f01ae20ccb294eb75dfad87b2" args="(unsigned char *header, int offset, int value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void set_a_4byte_value           </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>header</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Setzt einen 4-Byte Wert in einem Header. 
<p>
Diese Methode wird nur in <a class="el" href="bmp_8c.html" title="Implementation der Bitmap Funktionen.">bmp.c</a> verwendet. <dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>header</em>&nbsp;</td><td>Header </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>Offset </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>Wert </td></tr>
  </table>
</dl>

<p>Definiert in Zeile <a class="el" href="bmp_8c-source.html#l00210">210</a> der Datei <a class="el" href="bmp_8c-source.html">bmp.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00159">lcv_set_data_offset()</a>, <a class="el" href="bmp_8c-source.html#l00169">lcv_set_height()</a> und <a class="el" href="bmp_8c-source.html#l00179">lcv_set_width()</a>.</p>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Erzeugt am Wed Dec 19 16:38:17 2007 für LCV Framework von&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>
